package org.example.service;

import org.example.model.table.Score;
import org.example.model.vo.ScoreVo;
import org.example.util.Result;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ScoreService {
    public Result getAllScore(int page, int size);
    public Result getAllScoreByUserId(int page, int size,Long id);
    public Result getAllScoreByClassId(int page, int size,Long id);
    public Result getAllScoreByTeacherId(int page, int size,Long id);
    public Result deleteScoreById(Long id);
    public Result deleteScoreByIds(List<Long> id);
    public Result changeScore(Score score);
    public Result addScore(Score score);

    Result getScorePage(Integer page, Integer size, ScoreVo scoreVo);
}
